package com.study.talk.netty.message.request;

import com.study.talk.netty.message.MessageType;
import com.study.talk.netty.message.TalkMessage;

/**
 * 申请加入群聊请求
 */



public class ApplyGroupRequest extends TalkMessage {

    //("申请加入群聊的群id")
    private Integer groupId;

    @Override
    public byte getType() {
        return MessageType.APPLY_GROUP_REQUEST;
    }

    public ApplyGroupRequest(Integer groupId) {
        this.groupId = groupId;
    }

    public Integer getGroupId() {
        return groupId;
    }

    public void setGroupId(Integer groupId) {
        this.groupId = groupId;
    }

    public ApplyGroupRequest() {
    }
}
